﻿using UnityEngine;
using System.Collections;

public class FX_setActive : MonoBehaviour {

	public GameObject gTargetObject;
	public float fOffsetTime = 0f;

	void Start(){
		Invoke ("SetActive", fOffsetTime);
		}


	void SetActive(){
		//gTargetObject.SetActive (true);
		gTargetObject.gameObject.SetActive( !gTargetObject.gameObject.activeSelf );
	}
}
